page {
    background-color: #ECECEC;
    color: #101010;

    --animate-duration: 1s;
    --animate-delay: 1s;
    --animate-repeat: 1;
}


button {
    border: none;
    margin: 0;
    padding: 0;
    outline: none;
    border-radius: 0;
    background-color: transparent;
    line-height: normal;
}

// button::after {
//     border: none;
// }

// navigator,
// input,
// scroll-view {
//   box-sizing: border-box;
// }
view,
scroll-view,
swiper,
button,
input,
textarea,
label,
navigator,
image {
    box-sizing: border-box;
}


button::after {
    border: none;
}

image {
    width: 100%;
    height: 100%;
    // vertical-align: middle;
}

// 两行省略
// .ellipsis {
//     overflow: hidden;
//     text-overflow: ellipsis;
//     display: -webkit-box;
//     -webkit-line-clamp: 2;
//     -webkit-box-orient: vertical;
// }

.container {
    padding: 20rpx 20rpx;
    box-sizing: border-box;
}


/**
*flex 布局
*/
.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-1 {
    flex: 1;
}

.flex-between {
    justify-content: space-between;
}

.flex-around {
    justify-content: space-around;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.flex-align-center {
    align-items: center;
}


.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}


.justify-around {
    justify-content: space-around;
}

.flex-item-center {
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.flex-width-100 {
    width: 100%;
}

.l-card {
    box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin-top: 10rpx;
    width: 100%;
    height: 100%;
    padding: 20rpx;
    font-size: 28rpx;
    color: #101010;
    // font-weight: bold;
    background: #ffffff;
    border-radius: 20rpx;
}

.order-details-line {
    margin: 30rpx 0;
}

.margin-right-20 {
    margin-right: 20rpx;
}

.margin-right-10 {
    margin-right: 10rpx;
}

.margin-left-5 {
    margin-left: 5rpx;
}

.margin-left-10 {
    margin-left: 10rpx;
}

.margin-left-20 {
    margin-left: 20rpx;
}

.margin-top-10 {
    margin-top: 10rpx;
}

.margin-top-5 {
    margin-top: 5rpx;
}

.margin-top-20 {
    margin-top: 20rpx;
}

.margin-bottom-20 {
    margin-bottom: 20rpx;
}

/**文字大小*/
.text-xs {
    font-size: 20rpx;
}

.text-sm {
    font-size: 24rpx;
}

.text-df {
    font-size: 28rpx;
}

.text-lg {
    font-size: 32rpx;
}

.text-xl {
    font-size: 36rpx;
}

.text-xxl {
    font-size: 44rpx;
}
.text-xxxl {
    font-size: 44rpx;
}
.text-xxxxl {
    font-size: 72rpx;
}


.text-price::before {
    content: "¥";
    font-size: 80%;
    margin-right: 4rpx;
}


/**边距*/
.margin-0 {
    margin: 0;
}

.margin-xs {
    margin: 10rpx;
}

.margin-sm {
    margin: 20rpx;
}

.margin {
    margin: 30rpx;
}

.margin-lg {
    margin: 40rpx;
}

.margin-xl {
    margin: 50rpx;
}

.margin-top-xs {
    margin-top: 10rpx;
}

.margin-top-sm {
    margin-top: 20rpx;
}

.margin-top {
    margin-top: 30rpx;
}

.margin-top-lg {
    margin-top: 40rpx;
}

.margin-top-xl {
    margin-top: 50rpx;
}

.margin-right-xs {
    margin-right: 10rpx;
}

.margin-right-sm {
    margin-right: 20rpx;
}

.margin-right {
    margin-right: 30rpx;
}

.margin-right-lg {
    margin-right: 40rpx;
}

.margin-right-xl {
    margin-right: 50rpx;
}

.margin-bottom-xs {
    margin-bottom: 10rpx;
}

.margin-bottom-sm {
    margin-bottom: 20rpx;
}

.margin-bottom {
    margin-bottom: 30rpx;
}

.margin-bottom-lg {
    margin-bottom: 40rpx;
}

.margin-bottom-xl {
    margin-bottom: 50rpx;
}

.margin-left-xs {
    margin-left: 10rpx;
}

.margin-left-sm {
    margin-left: 20rpx;
}

.margin-left {
    margin-left: 30rpx;
}

.margin-left-lg {
    margin-left: 40rpx;
}

.margin-left-xl {
    margin-left: 50rpx;
}

.margin-lr-xs {
    margin-left: 10rpx;
    margin-right: 10rpx;
}

.margin-lr-sm {
    margin-left: 20rpx;
    margin-right: 20rpx;
}

.margin-lr {
    margin-left: 30rpx;
    margin-right: 30rpx;
}

.margin-lr-lg {
    margin-left: 40rpx;
    margin-right: 40rpx;
}

.margin-lr-xl {
    margin-left: 50rpx;
    margin-right: 50rpx;
}

.margin-tb-xs {
    margin-top: 10rpx;
    margin-bottom: 10rpx;
}

.margin-tb-sm {
    margin-top: 20rpx;
    margin-bottom: 20rpx;
}

.margin-tb {
    margin-top: 30rpx;
    margin-bottom: 30rpx;
}

.margin-tb-lg {
    margin-top: 40rpx;
    margin-bottom: 40rpx;
}

.margin-tb-xl {
    margin-top: 50rpx;
    margin-bottom: 50rpx;
}

.padding-0 {
    padding: 0;
}

.padding-xs {
    padding: 10rpx;
}

.padding-sm {
    padding: 20rpx;
}

.padding {
    padding: 30rpx;
}

.padding-lg {
    padding: 40rpx;
}

.padding-xl {
    padding: 50rpx;
}

.padding-top-xs {
    padding-top: 10rpx;
}

.padding-top-sm {
    padding-top: 20rpx;
}

.padding-top {
    padding-top: 30rpx;
}

.padding-top-lg {
    padding-top: 40rpx;
}

.padding-top-xl {
    padding-top: 50rpx;
}

.padding-right-xs {
    padding-right: 10rpx;
}

.padding-right-sm {
    padding-right: 20rpx;
}

.padding-right {
    padding-right: 30rpx;
}

.padding-right-lg {
    padding-right: 40rpx;
}

.padding-right-xl {
    padding-right: 50rpx;
}

.padding-bottom-xs {
    padding-bottom: 10rpx;
}

.padding-bottom-sm {
    padding-bottom: 20rpx;
}

.padding-bottom {
    padding-bottom: 30rpx;
}

.padding-bottom-lg {
    padding-bottom: 40rpx;
}

.padding-bottom-xl {
    padding-bottom: 50rpx;
}

.padding-left-xs {
    padding-left: 10rpx;
}

.padding-left-sm {
    padding-left: 20rpx;
}

.padding-left {
    padding-left: 30rpx;
}

.padding-left-lg {
    padding-left: 40rpx;
}

.padding-left-xl {
    padding-left: 50rpx;
}

.padding-lr-xs {
    padding-left: 10rpx;
    padding-right: 10rpx;
}

.padding-lr-sm {
    padding-left: 20rpx;
    padding-right: 20rpx;
}

.padding-lr {
    padding-left: 30rpx;
    padding-right: 30rpx;
}

.padding-lr-lg {
    padding-left: 40rpx;
    padding-right: 40rpx;
}

.padding-lr-xl {
    padding-left: 50rpx;
    padding-right: 50rpx;
}

.padding-tb-xs {
    padding-top: 10rpx;
    padding-bottom: 10rpx;
}

.padding-tb-sm {
    padding-top: 20rpx;
    padding-bottom: 20rpx;
}

.padding-tb {
    padding-top: 30rpx;
    padding-bottom: 30rpx;
}

.padding-tb-lg {
    padding-top: 40rpx;
    padding-bottom: 40rpx;
}

.padding-tb-xl {
    padding-top: 50rpx;
    padding-bottom: 50rpx;
}
